<Schema name="BtmParameterSchema" 
	xmlns="urn:schemas-microsoft-com:xml-data" 
	xmlns:dt="urn:schemas-microsoft-com:datatypes" 
	xmlns:fdt="x-schema:FDTDataTypesSchema.xml"
	xmlns:btm="x-schema:BtmDataTypesSchema.xml"
>

	<ElementType name="BtmExportedVariables" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<element type="btm:BtmVariables" minOccurs="1" maxOccurs="1"/>
	</ElementType>


	<!--Definition of Elements-->
	<ElementType name="BtmBlock" content="eltOnly" model="closed" order="seq">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="fdt:readAccess" required="no"/>
		<attribute type="fdt:writeAccess" required="no"/>
		<attribute type="fdt:tag" required="yes"/>
		<element type="fdt:ChannelReferences" minOccurs="0" maxOccurs="1"/>
		<element type="BtmExportedVariables" minOccurs="0" maxOccurs="1"/>
	</ElementType>

	<ElementType name="FDT" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="fdt:storageState" required="yes"/>
		<attribute type="fdt:dataSetState" required="yes"/>
		<element type="btm:BtmBlockType" minOccurs="1" maxOccurs="1"/>			
		<element type="BtmBlock" minOccurs="1" maxOccurs="1"/>  
	</ElementType>
</Schema>
